
package com.zsrt.book.entity;



public class BookEntity {

	/**
	 * 图书编号
	 */
	private int bookNum;
	
	/**
	 * 图书名称
	 */
	private String bookName;
	
	/**
	 * 图书简介
	 */
	private String description;
	
	/**
	 * 图书借阅状态
	 */
	private String borrowState;

	/**
	 * @return the bookNum
	 */
	public int getBookNum() {
		return bookNum;
	}

	/**
	 * @param bookNum the bookNum to set
	 */
	public void setBookNum(int bookNum) {
		this.bookNum = bookNum;
	}

	/**
	 * @return the bookName
	 */
	public String getBookName() {
		return bookName;
	}

	/**
	 * @param bookName the bookName to set
	 */
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the borrowState
	 */
	public String getBorrowState() {
		return borrowState;
	}

	/**
	 * @param borrowState the borrowState to set
	 */
	public void setBorrowState(String borrowState) {
		this.borrowState = borrowState;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "BookEntity [图书编号=" + bookNum + ", 图书名字=" + bookName + ", 图书简介=" + description
				+ ", 图书借阅状态=" + borrowState + "]";
	}

	/**
	 * @param bookNum
	 * @param bookName
	 * @param description
	 * @param borrowState
	 */
	public BookEntity(int bookNum, String bookName, String description, String borrowState) {
		super();
		this.bookNum = bookNum;
		this.bookName = bookName;
		this.description = description;
		this.borrowState = borrowState;
	}
	
	public BookEntity(){}
}
